f874ed9790d1eb1621c097fbd9954ec1013f4290,org.springframework.test/src/main/java/org/springframework/test/context/support/DelegatingSmartContextLoader.java,DelegatingSmartContextLoader,processContextConfiguration,#ContextConfigurationAttributes#,65
Before Change
// Otherwise, if the loader claims to generate defaults, let it
// process the configuration.
else if (loader.generatesDefaults()) {
loader.processContextConfiguration(configAttributes);
if (configAttributes.hasResources() && logger.isInfoEnabled()) {
logger.info(String.format("SmartContextLoader candidate %s "
+ "generated defaults for context configuration [%s].", loader, configAttributes));
After Change
// need to bother with default generation checks; just let each
// loader process the configuration.
if (originallyHadResources) {
for (SmartContextLoader loader : candidates) {
if (logger.isDebugEnabled()) {
logger.debug(String.format("Delegating to %s to process context configuration [%s].",
loader.getClass().getName(), configAttributes));
}
loader.processContextConfiguration(configAttributes);
}
}
else if (generatesDefaults()) {